<div class="container">
  <app-header [message]='msg' [runFn]='run' [com]='this'></app-header>
  <div class="content">
    <h1>父组件</h1>
    <button (click)="getChildMsgAndFn()">@ViewChild获取子组件的数据及执行子组件的方法</button>
  </div>
  <app-footer #footer (outer)="runFooter($event)"></app-footer>
</div>
